package cn.xiyun.xiyuncc.service;

import cn.xiyun.xiyuncc.domain.KillCourse;
import cn.xiyun.xiyuncc.dto.CourseKillDto;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiyun.maple
 * @since 2023-03-25
 */
public interface IKillCourseService extends IService<KillCourse> {

    void saveKillOrder(KillCourse killCourse);

    List<KillCourse> onlineAll();

    KillCourse onlineOne(Long killId, Long activeId);

    String kill(CourseKillDto courseKillDto);
}
